package com.example.rbac.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author XieLongzhen
 * @date 2019/1/8 21:32
 */
@Controller
@RequestMapping("/admin")
public class AdminController {
    @GetMapping("index.page")
    public ModelAndView index() {
        return new ModelAndView("admin");
    }
}
